Gitlab Update MR Tool
Update GitLab Merge Requests by assigning reviewers, modifying titles, descriptions, and labels. Streamline code reviews and project management for development teams.
Instructions
更新指定项目的 Merge Request,包括指派 assignee 和 reviewers。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assigneeId | No | 指派的用户 ID | |
description | No | 新的描述 | |
fields | No | 需要返回的字段路径数组 | |
labels | No | 标签数组 | |
mergeRequestId | Yes | Merge Request ID | |
projectId | Yes | 项目 ID | |
reviewerIds | No | Reviewer 用户 ID 列表 | |
title | No | 新的标题 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"assigneeId": {
"description": "指派的用户 ID",
"type": "number"
},
"description": {
"description": "新的描述",
"type": "string"
},
"fields": {
"description": "需要返回的字段路径数组",
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"description": "标签数组",
"items": {
"type": "string"
},
"type": "array"
},
"mergeRequestId": {
"description": "Merge Request ID",
"type": "number"
},
"projectId": {
"description": "项目 ID",
"type": "string"
},
"reviewerIds": {
"description": "Reviewer 用户 ID 列表",
"items": {
"type": "number"
},
"type": "array"
},
"title": {
"description": "新的标题",
"type": "string"
}
},
"required": [
"projectId",
"mergeRequestId"
],
"type": "object"
}